package com.itheima.a04threadmethod1;

/**
 * 睡眠排序
 */
public class SleepSort {

    public static void main(String[] args) {
        Integer [] num = {5,4,3,2,1 , 6,9,8,7,0};

        for (Integer time : num) {
            SleepSortThead sleepSortThead = new SleepSortThead(time);
            sleepSortThead.start();
        }
    }

}
